package com.wzk.travelspringboot.common.weather;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import lombok.Data;

import java.time.LocalDateTime;
import java.util.List;

/**
 * @Author: WangZiKang
 * @Date: 2025/1/18 20:13
 */
@Data
@JsonIgnoreProperties(ignoreUnknown = true)
public class WeatherSixHourResponse {
    private String code;
    private String updateTime;
    private String fxLink;
    private List<Hourly> hourly;

    @Data
    @JsonIgnoreProperties(ignoreUnknown = true)
    public static class Hourly {
        private String fxTime;
        private String temp;
        private String icon;
        private String text;
        private String wind360;
        private String windDir;
        private String windScale;
        private String windSpeed;
        private String humidity;
        private String pop;
        private String precip;
        private String pressure;
        private String cloud;
        private String dew;

    }

}
